3.141 \(\int \cos ^{\frac{5}{2}}(c+d x) \sqrt{b \cos (c+d x)} \, dx\)

Optimal. Leaf size=70 \[ \frac{\sin (c+d x) \sqrt{b \cos (c+d x)}}{d \sqrt{\cos (c+d x)}}-\frac{\sin ^3(c+d x) \sqrt{b \cos (c+d x)}}{3 d \sqrt{\cos (c+d x)}} \]

[Out]

(Sqrt[b*Cos[c + d*x]]*Sin[c + d*x])/(d*Sqrt[Cos[c + d*x]]) - (Sqrt[b*Cos[c + d*x]]*Sin[c + d*x]^3)/(3*d*Sqrt[C
os[c + d*x]])

________________________________________________________________________________________

Rubi [A]  time = 0.0172808, antiderivative size = 70, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.087, Rules used = {17, 2633} \[ \frac{\sin (c+d x) \sqrt{b \cos (c+d x)}}{d \sqrt{\cos (c+d x)}}-\frac{\sin ^3(c+d x) \sqrt{b \cos (c+d x)}}{3 d \sqrt{\cos (c+d x)}} \]

Antiderivative was successfully verified.

[In]

Int[Cos[c + d*x]^(5/2)*Sqrt[b*Cos[c + d*x]],x]

[Out]

(Sqrt[b*Cos[c + d*x]]*Sin[c + d*x])/(d*Sqrt[Cos[c + d*x]]) - (Sqrt[b*Cos[c + d*x]]*Sin[c + d*x]^3)/(3*d*Sqrt[C
os[c + d*x]])

Rule 17

Int[(u_.)*((a_.)*(v_))^(m_)*((b_.)*(v_))^(n_), x_Symbol] :> Dist[(a^(m + 1/2)*b^(n - 1/2)*Sqrt[b*v])/Sqrt[a*v]
, Int[u*v^(m + n), x], x] /; FreeQ[{a, b, m}, x] &&  !IntegerQ[m] && IGtQ[n + 1/2, 0] && IntegerQ[m + n]

Rule 2633

Int[sin[(c_.) + (d_.)*(x_)]^(n_), x_Symbol] :> -Dist[d^(-1), Subst[Int[Expand[(1 - x^2)^((n - 1)/2), x], x], x
, Cos[c + d*x]], x] /; FreeQ[{c, d}, x] && IGtQ[(n - 1)/2, 0]

Rubi steps

\begin{align*} \int \cos ^{\frac{5}{2}}(c+d x) \sqrt{b \cos (c+d x)} \, dx &=\frac{\sqrt{b \cos (c+d x)} \int \cos ^3(c+d x) \, dx}{\sqrt{\cos (c+d x)}}\\ &=-\frac{\sqrt{b \cos (c+d x)} \operatorname{Subst}\left (\int \left (1-x^2\right ) \, dx,x,-\sin (c+d x)\right )}{d \sqrt{\cos (c+d x)}}\\ &=\frac{\sqrt{b \cos (c+d x)} \sin (c+d x)}{d \sqrt{\cos (c+d x)}}-\frac{\sqrt{b \cos (c+d x)} \sin ^3(c+d x)}{3 d \sqrt{\cos (c+d x)}}\\ \end{align*}

Mathematica [A]  time = 0.0889298, size = 45, normalized size = 0.64 \[ \frac{\sin (c+d x) (\cos (2 (c+d x))+5) \sqrt{b \cos (c+d x)}}{6 d \sqrt{\cos (c+d x)}} \]

Antiderivative was successfully verified.

[In]

Integrate[Cos[c + d*x]^(5/2)*Sqrt[b*Cos[c + d*x]],x]

[Out]

(Sqrt[b*Cos[c + d*x]]*(5 + Cos[2*(c + d*x)])*Sin[c + d*x])/(6*d*Sqrt[Cos[c + d*x]])

________________________________________________________________________________________

Maple [A]  time = 0.283, size = 40, normalized size = 0.6 \begin{align*}{\frac{ \left ( 2+ \left ( \cos \left ( dx+c \right ) \right ) ^{2} \right ) \sin \left ( dx+c \right ) }{3\,d}\sqrt{b\cos \left ( dx+c \right ) }{\frac{1}{\sqrt{\cos \left ( dx+c \right ) }}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(d*x+c)^(5/2)*(b*cos(d*x+c))^(1/2),x)

[Out]

1/3/d*(2+cos(d*x+c)^2)*sin(d*x+c)*(b*cos(d*x+c))^(1/2)/cos(d*x+c)^(1/2)

________________________________________________________________________________________

Maxima [A]  time = 1.82806, size = 57, normalized size = 0.81 \begin{align*} \frac{\sqrt{b}{\left (\sin \left (3 \, d x + 3 \, c\right ) + 9 \, \sin \left (\frac{1}{3} \, \arctan \left (\sin \left (3 \, d x + 3 \, c\right ), \cos \left (3 \, d x + 3 \, c\right )\right )\right )\right )}}{12 \, d} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)^(5/2)*(b*cos(d*x+c))^(1/2),x, algorithm="maxima")

[Out]

1/12*sqrt(b)*(sin(3*d*x + 3*c) + 9*sin(1/3*arctan2(sin(3*d*x + 3*c), cos(3*d*x + 3*c))))/d

________________________________________________________________________________________

Fricas [A]  time = 1.70676, size = 112, normalized size = 1.6 \begin{align*} \frac{\sqrt{b \cos \left (d x + c\right )}{\left (\cos \left (d x + c\right )^{2} + 2\right )} \sin \left (d x + c\right )}{3 \, d \sqrt{\cos \left (d x + c\right )}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)^(5/2)*(b*cos(d*x+c))^(1/2),x, algorithm="fricas")

[Out]

1/3*sqrt(b*cos(d*x + c))*(cos(d*x + c)^2 + 2)*sin(d*x + c)/(d*sqrt(cos(d*x + c)))

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)**(5/2)*(b*cos(d*x+c))**(1/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)^(5/2)*(b*cos(d*x+c))^(1/2),x, algorithm="giac")

[Out]

Timed out